package com.yegs.jindie.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 入库单
 */
@Component
public class PurchaseTO extends BaseRowModel {

    @ExcelProperty(value = "国家/地区", index = 0)
    private String country;

    @ExcelProperty(value = "省份", index = 1)
    private String province;

    @ExcelProperty(value = "城市", index = 2)
    private String city;

    @ExcelProperty(value = "手机串号\\IMEI", index = 3)
    private String imei;

    @ExcelProperty(value = "供货客户名称", index = 4)
    private String custname;

    @ExcelProperty(value = "供货客户编码", index = 5)
    private String custcode;

    @ExcelProperty(value = "入库时间", index = 6)
    private Date date;

    @ExcelProperty(value = "仓库名称", index = 7)
    private String whname;

    @ExcelProperty(value = "仓库编码", index = 8)
    private String whcode;

    @ExcelProperty(value = "采购价格", index = 9)
    private String price;

    @ExcelProperty(value = "政企标识", index = 10)
    private String industrial;

    @ExcelProperty(value = "线上/线下", index = 11)
    private String onLine;

    @ExcelProperty(value = "退货", index = 12)
    private String reback;

    @ExcelProperty(value = "产品名称", index = 13)
    private String productNumber;




    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getCustname() {
        return custname;
    }

    public void setCustname(String custname) {
        this.custname = custname;
    }

    public String getCustcode() {
        return custcode;
    }

    public void setCustcode(String custcode) {
        this.custcode = custcode;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getWhname() {
        return whname;
    }

    public void setWhname(String whname) {
        this.whname = whname;
    }

    public String getWhcode() {
        return whcode;
    }

    public void setWhcode(String whcode) {
        this.whcode = whcode;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getIndustrial() {
        return industrial;
    }

    public void setIndustrial(String industrial) {
        this.industrial = industrial;
    }

    public String getOnLine() {
        return onLine;
    }

    public void setOnLine(String onLine) {
        this.onLine = onLine;
    }

    public String getReback() {
        return reback;
    }

    public void setReback(String reback) {
        this.reback = reback;
    }

    public String getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(String productNumber) {
        this.productNumber = productNumber;
    }

    @Override
    public String toString() {
        return "PurchaseTO{" +
                "country='" + country + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", imei='" + imei + '\'' +
                ", custname='" + custname + '\'' +
                ", custcode='" + custcode + '\'' +
                ", date=" + date +
                ", whname='" + whname + '\'' +
                ", whcode='" + whcode + '\'' +
                ", price='" + price + '\'' +
                ", industrial='" + industrial + '\'' +
                ", onLine='" + onLine + '\'' +
                ", reback='" + reback + '\'' +
                '}';
    }
}
